package com.sunny.design.decorator.login;

/**
 * @author Sunny
 * @date 2020/1/12
 */
public class UpgradeSignInWithDecoratorTest {

    public static void main(String[] args) {
        SignInForThirdService sign = new SignInForThirdService(new SignInService());
        ResultMsg loginForQQ = sign.loginForQQ("dadasdas");
        System.out.println(loginForQQ);


        ResultMsg loginForToken = sign.loginForToken("13123121");
        System.out.println(loginForToken);
    }
}
